Skip to content

Conversation

@IsakTjernberg
Copy link
Contributor

Found a bug when decoding array of U16 in Java. It would try to decode as many U16s as there were bytes left in the buffer, causing the buffer to run out halfway there.
I believe the same logic goes for the float and double versions, but I have not tested these myself.
This was triggered by the MSG_GROUP_META, not sure if these functions are used from somewhere else.

@IsakTjernberg IsakTjernberg merged commit 6b1b452 into master Sep 10, 2020
@IsakTjernberg IsakTjernberg deleted the isak/java-array-decoding-fix branch September 10, 2020 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants